package com.gameapplet.challenge.service.Impl;

import com.gameapplet.challenge.dao.IChallengeTestDao;
import com.gameapplet.challenge.model.ChallengeTest;
import com.gameapplet.challenge.service.IChallengeTestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service(value = "challengeTestService")
public class ChallengeTestServiceImpl implements IChallengeTestService {

    @Resource(name = "challengeTestDao")
    IChallengeTestDao challengeTestDao;

    @Override
    public int insertChallengeTest(List<ChallengeTest> challengeTestList) {
        return challengeTestDao.insertChallengeTest(challengeTestList);
    }
}
